import React from 'react';
import ReactDOM from 'react-dom';
// all in js
// import es6模块引用语法 js引用js
// amd cmd require
// import TodoList from './TodoList';
import App from './App';
// PWA progressive web application 理念：通过写网页的形式来写手机APP应用
// 上线至https协议的服务器上 初次访问需联网 下次使用可以无网
// import * as serviceWorker from './serviceWorker';

// ReactDOM.render(<TodoList />, document.getElementById('root'));
ReactDOM.render(<App />, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA

// serviceWorker.unregister();
